class InnerClass 
{
	public static void main(String[] args) 
	{
		Outer o = new Outer();
		o.new Inner.method();
	}
}

class Outer
{
	class Inner
	{
		public void method() {
			System.out.println("Hello World!");
		}
	}
}
